import request from '@/utils/request'
// 获取左侧菜单
export const leftMemus = () => {
  return request({
    method: 'GET',
    url: '/menus'
  })
}
// 获取权限列表
export const privileges = type => {
  return request({
    method: 'GET',
    url: '/rights/:type'
  })
}
